//
//  KDGetWebView.m
//  PublicSentimentMonitorSystem
//
//  Created by 魏强 on 15/11/5.
//  Copyright © 2015年 魏强. All rights reserved.
//

#import "KDGetWebView.h"
@interface KDGetWebView ()
@property (weak, nonatomic) IBOutlet UITextField *webTf;

@end
@implementation KDGetWebView

+ (instancetype)addGetWebView{
    KDGetWebView *getWebView = [[[NSBundle mainBundle] loadNibNamed:@"KDGetWebView" owner:nil options:nil]lastObject];
    return getWebView;
}
- (IBAction)getWebBtnClick:(UIButton *)sender {
    if (_delegate && [_delegate respondsToSelector:@selector(KDGetWebView:getWebBtnCkickWithWebUrl:)]) {
        [_delegate KDGetWebView:self getWebBtnCkickWithWebUrl:_webTf.text];
    }
}

@end
